{include file="$SkinFullPath/$DefaultSkin/header.tpl"}


    <div class="clear"></div>

<h2><u>{$faq_title|upper}</u></h2>

<table cellspacing="1" class="index_body">

  {section name=CATListing loop=$CATListing}
  <tr>
    <td colspan="2">
      <table width="100%">
        <tr>
          <td>
            <h2><a href="{$PHP_SELF}?faq={$CATListing[CATListing].cat_f_id}&amp;ca={$CATListing[CATListing].cat_id}">{$CATListing[CATListing].cat_title}</a></h2>
          </td>
          {if $orbitfaq_accesslevel != 'none' && $allowUserPosts == '1' && $CATListing[CATListing].faq_allow_user_posts == '1' && $usersMustBeLoggedIn == '1'}
          <td align="right">
            <a href="askquestion.php?faq={$CATListing[CATListing].cat_f_id}&amp;ca={$CATListing[CATListing].cat_id}">
            <img src="skins/{$DefaultSkin}/images/askqn.gif" alt="" border="0" />
            </a>
          </td>
          {elseif $usersMustBeLoggedIn == '0' && $allowUserPosts == '1' && $CATListing[CATListing].faq_allow_user_posts == '1'}
          <td align="right">
            <a href="askquestion.php?faq={$CATListing[CATListing].cat_f_id}&amp;ca={$CATListing[CATListing].cat_id}">
            <img src="skins/{$DefaultSkin}/images/askqn.gif" alt="" border="0" />
            </a>
          </td>
          {/if}
        </tr>
      </table>
    </td>
  </tr>
  {if $CATListing[CATListing].cat_qn_count != '0'}
  {section name=QNListing loop=$QNListing}
  {if $QNListing[QNListing].qn_c_id == $CATListing[CATListing].cat_id}
  <tr>
    <td class="row1 one"><img src="skins/{$DefaultSkin}/images/cat_qn.gif" alt="" /></td>
    <td class="row1 two"
    {if $CategoryShowAnsLevel != 2}
      onmouseover="this.style.backgroundColor='#DEE3E7'; this.style.cursor='pointer'"
      onmouseout="this.style.backgroundColor=''"
      onclick="window.location.href='{$PHP_SELF}?faq={$CATListing[CATListing].cat_f_id}&amp;ca={$CATListing[CATListing].cat_id}&amp;qn={$QNListing[QNListing].qn_id}'"
    {/if}
    >
      {if $CategoryShowAnsLevel != 2}
      <h3><a id="qn{$QNListing[QNListing].qn_id}" name="qn{$QNListing[QNListing].qn_id}" href="{$PHP_SELF}?faq={$CATListing[CATListing].cat_f_id}&amp;ca={$CATListing[CATListing].cat_id}&amp;qn={$QNListing[QNListing].qn_id}"><b>{$QNListing[QNListing].qn_desc}?</b></a></h3>
      {else}
      <b><a id="qn{$QNListing[QNListing].qn_id}" name="qn{$QNListing[QNListing].qn_id}">{$QNListing[QNListing].qn_desc}?</a></b>
      {/if}

      {if $CategoryShowAnsLevel != 0}
      <BR />{$QNListing[QNListing].qn_ans_desc}<br />
        {if $allowRatings != 0}
          {include file="questions_rating.tpl"}
        {/if}
      {/if}
      </td>
  </tr>
  {/if}
  {/section}
  {else}
  <tr>
    <td colspan="2">
      &nbsp; &nbsp;No Content Available
    </td>
  </tr>
  {/if}

  {/section}
</table>

{include file="$SkinFullPath/$DefaultSkin/footer.tpl"}